package org.monitoringtools.managedbeans;

public interface Monitoring {

    /**
     * Attributes
     */
    public long totalByMonitor(String id);

    public long failureByMonitor(String id);

    public long successByMonitor(String id);

    public long totalByMonitor(String id, String timeUnit);

    public long failureByMonitor(String id, String timeUnit);

    public long successByMonitor(String id, String timeUnit);

    /**
     * Operations
     */
    public void reset();

}
